package mypackage;

import java.util.Iterator;

public class CatalogManagement {
	String foldername;
	PathParse p = null; 
	INode inode = null; 
    int hj;
	
	public void createFolder(INode folder) {
		INode newfolder = new INode(foldername);

		Iterator<INode> i = MainClass.array.iterator();
		if (i.hasNext()) {
			INode tnode = i.next();
			if (tnode.filename.equals(inode.filename))
				newfolder.parent = inode;

		}
		newfolder.children = null;
	}

	public void modifyFolderName(INode folder) {

	}

	public void openFlolder(INode folder) {

	}

	public void deleteFolder(INode folder) {

	}

}
